home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
CW GUSI 1.6.4
/
README.CWGUSI
< prev
Wrap
Text File
|
1995-04-23
|
2KB
|
68 lines
Welcome to GUSI for CodeWarrior!
This file is intended to provide a minimum of documentation to supplement the standard
documentation and README.
INSTALLATION
Basically, you need to be able to access the "Lib" and "includes" folders. This is probably
easiest done by placing aliases to these folders in the appropriate places or adding them
with "Preferences…" to the "Access Paths" of your project. Be careful, though, that GUSI
headers are searched *before* the standard ANSI headers. In particular, stat.h is not
compatible between the ANSI headers and GUSI.
BUILDING PROGRAMS WITH GUSI
- Your 68K programs need to be built with 4 byte ints.
- Be *very* careful about the order of libraries! GUSI does its work by overriding standard
library routines, so it should always be first in your link order.
- Dont't forget to include "GUSI Resources" or include "GUSI.r" in your own resource file.
- When in doubt, look at the examples.
- Templates for GUSI projects are in the Lib folder (am I not considerate?) as
GUSI.PPC.¶
GUSI.68K.¶
- The #1 reason for crashing GUSI clients is forgetting calls to GUSISetup()!
- The #2 reason is forgetting calls to InitGraf().
PRECOMPILED HEADERS
There are two sets of precompiled headers; one is generated by GUSI.pch in the CWGUSI folder,
the other by GUSITest.pch in the :CWGUSI:Examples folder. Neither is intended to be used
by your programs, but only for rebuilding the libraries, and for space reasons, neither is
included with GUSI. They will be rebuilt if you build GUSI.*.µ or GUSITest.*.µ
In your own projects, either use MacHeaders or define your own precompiled headers.
REBUILDING THE LIBRARIES
To rebuild the libraries, do the following:
- Open GUSI.PPC.µ or GUSI.68K.µ
- Choose "Make"
BUILDING EXAMPLES
To build any of the included examples, do the following:
- Open GUSITest.PPC.µ or GUSITest.68K.µ
- Choose "Make"
- Open the project file of the example you want to build
- Choose "Make" or "Run".
MISSING SOURCE CODE
I currently believe that I can't distribute the source code to the functions to fdopen() and
fwalk() without infringing on my license, therefore they are only provided in binary form.
ACKNOWLEDGEMENTS
This port would never be remotely in the shape it is now without the outstanding support of
Greg Galanos, Ron Liechty and Berardino Baratta of Metrowerks.
QUESTIONS?
Ask me, Matthias Neeracher <neeri@iis.ee.ethz.ch>